package com.live.video.web.service.impl;

import com.live.video.authority.vo.CommonResponseVO;
import com.live.video.web.mapper.VideoFileMapper;
import com.live.video.web.service.VideoFileService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author CHENCHEN
 * @title
 * @createTime 2022-07-2620:23
 */
@Slf4j
@Service
public class VideoFileServiceImpl implements VideoFileService {

    @Autowired
    private VideoFileMapper videoFileMapper;

    @Override
    public CommonResponseVO findVideoFileListByKnowledgeContentId(Long knowledgeContentId) {
        return CommonResponseVO.SUCCESS(videoFileMapper.findVideoFileListByKnowledgeContentId(knowledgeContentId));
    }
}
